翻訳と辞書
Words near each other
・ Temporary protected status
・ Temporary protection visa
・ Temporary Provisions Effective During the Period of Communist Rebellion
・ Temporary Release
・ Temporary Relief Act
・ Temporary Residence Limited
・ Temporary residency
・ Temporary restoration
・ Temporary Road
・ Temporary Secretary
・ Temporary Services
・ Temporary Station Site railway station
・ Temporary tattoo
・ Temporary Temple
・ Temporary Temple & Atonal
Temporary variable
・ Temporary work
・ Tempore
・ Temporin
・ Temporomandibular joint
・ Temporomandibular joint dysfunction
・ Temporomandibular joint pathology
・ Temporomandibular ligament
・ Temporoparietal junction
・ Temporoparietalis muscle
・ Temporopontine fibers
・ Temposhark
・ Tempotron
・ Tempoyak
・ Tempozan Ferris Wheel


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Temporary variable : ウィキペディア英語版
Temporary variable

In computer programming, a temporary variable is a variable whose purpose is short-lived, usually to hold temporary data that will soon be discarded, or before it can be placed at a more permanent memory location. Because it is short-lived, it is usually declared with local scope. There is no formal definition of what makes a variable ''temporary'', but it is an often-used term in programming.
A typical example would be that of swapping the contents of two variables. To swap the contents of variables ''a'' and ''b'' one would typically use a temporary variable ''temp'' as follows, so as to preserve the data from ''a'' as it is being overwritten by ''b'':
temp := a
a := b
b := temp
Temporary variables are usually named with identifiers that abbreviate the word ''temporary'', such as ''temp'', ''tmp'' or simply ''t'', or
with common metasyntactic variable names, the most common of which are ''foo'', ''bar'', ''baz'' (see also foobar).
==See also==

*Temporary folder
*Temporary file
*Temporary filesystem

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Temporary variable」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.